<%layout("layout.html"){%> <%for (pa in pageArt.list){%>
<article class="margin-right">
	<h3>
		<a class="" href="/article/<%if(isEmpty(pa.transTitle)){%>${pa.id}<%}else {%>${pa.transTitle}<%}%>">${pa.title}</a>
	</h3>
	<div>
		<span class="icon-calendar ">&nbsp;${pa.updateTime,dateFormat="yyyy-MM-dd HH:mm:ss"}</span> <span class="icon-bars ">&nbsp;${pa.name}</span> <span
			class="icon-tags ">&nbsp; <% var tagArr = strutil.split
			(pa.tags,","); for(t in tagArr){ %> <a
			class="" href="/tag/${strutil.trim(t)}">${strutil.trim(t)}</a> <%}%>
		</span>
	</div>
	<p> <%if( strutil.length(pa.content) > 300) {%>
			${strutil.subStringTo (pa.content,0,300)}...
		<%}else {%>
			${pa.content}
		<%}%>
	</p>
	<hr class="bg-mix margin-right" />
</article>

<%}%>

<div class=" margin-top margin-bottom margin-right">
	<ul class="float-right pagination border-main">
		<%for(var i=1;i <= pageArt.totalPage;i++ ){%>
		<li class="  <%if(i == pageArt.pageNumber){%>active<%}%>"><a
			href="${BASE_PATH}/${i}">${i}</a></li> <%}%>
	</ul>
</div>
<%}%>
